﻿@{
    ViewBag.Title = "用户信息列表";
    Layout = "~/Areas/Admin/Views/Shared/_DataGridLayout.cshtml";

    ViewBag.GridId = "users";
    ViewBag.GridDataUrl = Url.Action("GridData");
}
@section customScript
{
<script type="text/javascript">
    columns = [[
        { field: "Id", title: "编号", width: 40, halign: "center", align: "right", sortable: true },
        { field: "Name", title: "用户名", width: 150, sortable: true },
        { field: "NickName", title: "用户昵称", width: 150, sortable: true },
        { field: "IsDeleted", title: "已删除", width: 80, sortable: true, align: "center", formatter: formatBoolean },
        { field: "CreatedTime", title: "创建时间", width: 150, halign: "center", align: "center", sortable: true, formatter: function (value) { return $.osharp.tools.formatDate(value); } }
    ]];
</script>
}
